﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MODEL;
using System.Collections.Generic;
using Service;
using System.Linq;
using DAL;
using System.Threading.Tasks;

namespace UnitTestProject1
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            try
            {
                AppSetting.Instance.MySqlConnectionStr = "Data Source=localhost;Port=3306;Initial Catalog=msap_db;user id=root;password=123456;Charset=utf8";
                //bool islogin = new UserMangementService().Login("admin", "123456");
                
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
    }
}
